Fix bug #12811 with scrolling under scroll-up/down-aggressively.
authorEli Zaretskii <eliz@gnu.org>
Tue, 6 Nov 2012 16:36:02 +0000 (18:36 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 6 Nov 2012 16:36:02 +0000 (18:36 +0200)
commit0cb6e70a675746582b69a84d79504bf66c4386fb
tree039bb76df3a92579474914a2b9247d54a8e3491a
parent56a49d367c9879713c6cf2d0fd142000f25826ef
Fix bug #12811 with scrolling under scroll-up/down-aggressively.

 src/xdisp.c (try_scrolling): Fix correction of aggressive-scroll
 amount when the scroll margins are too large.  When scrolling
 backwards in the buffer, give up if cannot reach point or the
 scroll margin within a reasonable number of screen lines.  Fixes
 point position in window under scroll-up/down-aggressively when
 point is positioned many lines beyond the window top/bottom.
src/ChangeLog
src/xdisp.c